package com.bd.scm.domain.dto.leave;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 考勤卡-请假列表
 * @author yufc
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LeaveTimeCardDto implements Serializable {

    @ApiModelProperty(value="")
    private Long orderId;

    @ApiModelProperty(value="")
    private String orderNo;

    @ApiModelProperty(value="")
    private String remark;

    @ApiModelProperty(value="")
    private String submitterNo;

    @ApiModelProperty(value="")
    private String submitterName;

    @ApiModelProperty(value="")
    private Date submitterTime;

    @ApiModelProperty(value="")
    private String statusName;

    @ApiModelProperty(value="")
    private String removeNo;

    @ApiModelProperty(value="")
    private String removeName;

    @ApiModelProperty(value="")
    private Date removeTime;

    @ApiModelProperty(value="")
    private String returnRemark;

    @ApiModelProperty(value="")
    private String beginTime;

    @ApiModelProperty(value="")
    private String endTime;

    @ApiModelProperty(value="")
    private Long userSerial;

    @ApiModelProperty(value="")
    private String userNo;

    @ApiModelProperty(value="")
    private String userName;

    @ApiModelProperty(value="")
    private String depName;

    @ApiModelProperty(value="开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date kssj;

    @ApiModelProperty(value="结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date jssj;

    /**
     * 请假时长（分钟）
     */
    @ApiModelProperty(value="请假时长（分钟）")
    private Integer jsjg;

    /**
     * 请假时长（小时）
     */
    @ApiModelProperty(value="请假时长（小时）")
    private String jsjgHour;

    @ApiModelProperty(value="")
    private Integer whetherValidity;

    @ApiModelProperty(value="")
    private String detailRemoveUser;

    @ApiModelProperty(value="")
    private Date detailRemoveTime;

    @ApiModelProperty(value="")
    private String detailReturnRemark;

    @ApiModelProperty(value="假类")
    private String leaveTypeName;

    private static final long serialVersionUID = 1L;
}